package com.zyx.mbg;

import java.time.ZonedDateTime;
import java.time.format.DateTimeFormatter;

/**
 * @author Yaxi.Zhang
 * @since 2022/8/28 07:43
 */
public class DateUtils {

    public static String getDateStr() {
        DateTimeFormatter dtf = DateTimeFormatter.ofPattern("yyyy/MM/dd HH:mm");
        return dtf.format(ZonedDateTime.now());
    }
}
